<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        form {
            margin: 200px auto;
            width: 500px;
            border: 2px solid palevioletred;
            font-size: 20px;
            text-align: center;
            padding: 10px;
        }
        form > p {
            height: 40px;
            line-height: 40px;
        }
        form > p > input,
        form > button {
            height: 25px;
            line-height: 25px;
            font-size: 20px;
        }
        form > button {
            width: 150px;
            margin: 10px 0;
        }
    </style>
</head>
<body>
    <form action="http://www.jd.com" method="post">
        <p>账号：<input type="text" placeholder="请输入账号" name="username"></p> 
        <p>密码：<input type="password" placeholder="请输入密码" name="password"></p> 
        <button>登录</button> <button type="reset">重置</button>
    </form>
</body>
</html>